from payment.paymentBase import PaymentBase

class CouponPayment(PaymentBase):
    def __init__(self):
        super().__init__()

    def __str__(self):
        return "优惠券"

    def pay(self, amount):
        return f"使用 {amount} 张优惠券"
